<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">

        <label class="control-label col-xs-12 col-sm-2">{:__('商品清单')}:</label>

        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="find" item="vo"}

                <ul>

                    <li style="line-height: 20px;">
                    名称:<a href="{:url('byd_shop/detail',['ids'=>$vo['productid']])}">{$vo.productname}</a><br />
                    规格:{$vo.specidsize}<br />
                    单价:￥{$vo.sprice}&nbsp;&nbsp;X&nbsp;数量：{$vo.num}&nbsp;&nbsp;合计：￥{$vo.price}：</li></ul>



                {/foreach}

            </div>



        </div>

    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Orderid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-orderid" class="form-control" name="row[orderid]" type="text" value="{$row.orderid|htmlentities}" disabled>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('客户备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            <p>{$row.content|htmlentities}</p>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('States')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="statesList" item="vo"}
                <label for="row[states]-{$key}"><input id="row[states]-{$key}" name="row[states]" type="radio" value="{$key}" {in name="key" value="$row.states"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><strong>{:__('收件信息')}:</strong></label>
        <div class="col-xs-12 col-sm-8">&nbsp;
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('收件人姓名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id"  class="form-control " name="row[username]" type="text" value="{$row.username|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('收件人电话')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" class="form-control" name="row[phone]" type="number"  value="{$row.phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text"  value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('addressxq')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addressxq" class="form-control" name="row[addressxq]" type="text"  value="{$row.addressxq|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><strong>{:__('物流信息')}:</strong></label>
        <div class="col-xs-12 col-sm-8">&nbsp;
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('物流公司')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-express" data-source="byd_shop_express/index" data-field="title" class="form-control selectpage" name="row[express]" type="text" value="{$row.express|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Expressorder')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expressorder" class="form-control" name="row[expressorder]" type="text" value="{$row.expressorder|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('运输时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('物流信息')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-context" class="form-control" name="row[context]" type="text" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('快递状态')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-auto" class="form-control selectpicker" name="row[exstatus]">

                {foreach name="express" item="vo"}
                <option value="{$vo}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('拒绝原因')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bohui" class="form-control" name="row[bohui]" type="text"  value="{$row.bohui|htmlentities}">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
